using Common.Model;
using FluentNHibernate.Mapping;

namespace Common.Mappings
{
    public class TrainingClassMapping:ClassMap<TrainingClass>
    {
        public TrainingClassMapping()
        {
            //Not.LazyLoad();
            Id(t => t.Id);
            Map(t => t.Name);
            Map(t => t.Description);
            //HasMany(t => t.TrainingCourse).KeyColumns.Add("Id").Not.LazyLoad();
        }
    }
}